<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link rel="STYLESHEET" href="lib.css" type='text/css' />
<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
<link rel='start' href='../index.html' title='Python documentation Index' />
<link rel="first" href="lib.html" title='Python library Reference' />
<link rel='contents' href='contents.html' title="Contents" />
<link rel='index' href='genindex.html' title='Index' />
<link rel='last' href='about.html' title='About this document...' />
<link rel='help' href='about.html' title='About this document...' />
<link rel="next" href="node706.html" />
<link rel="prev" href="node704.html" />
<link rel="parent" href="node704.html" />
<link rel="next" href="node706.html" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name='aesop' content='information' />
<title>20.2.2.1 Basic Widgets</title>
</head>
<body>
<div class="navigation">
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="20.2.2 tix Widgets"
  href="node704.html"><img src='../icons/previous.png'
  border='0' height='32'  alt='Previous Page' width='32' /></a></td>
<td class='online-navigation'><a rel="parent" title="20.2.2 tix Widgets"
  href="node704.html"><img src='../icons/up.png'
  border='0' height='32'  alt='Up one Level' width='32' /></a></td>
<td class='online-navigation'><a rel="next" title="20.2.2.2 file Selectors"
  href="node706.html"><img src='../icons/next.png'
  border='0' height='32'  alt='Next Page' width='32' /></a></td>
<td align="center" width="100%">Python Library Reference</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
  href="contents.html"><img src='../icons/contents.png'
  border='0' height='32'  alt='Contents' width='32' /></a></td>
<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
  border='0' height='32'  alt='Module Index' width='32' /></a></td>
<td class='online-navigation'><a rel="index" title="Index"
  href="genindex.html"><img src='../icons/index.png'
  border='0' height='32'  alt='Index' width='32' /></a></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="node704.html">20.2.2 Tix Widgets</a>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="node704.html">20.2.2 Tix Widgets</a>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="node706.html">20.2.2.2 File Selectors</a>
</div>
<hr /></div>
</div>
<!--End of Navigation Panel-->

<h3><a name="SECTION0022221000000000000000">
20.2.2.1 Basic Widgets</a>
</h3>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4711' xml:id='l2h-4711' class="class">Balloon</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
A <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixBalloon.htm"
  >Balloon</a>
that pops up over a widget to provide help.  When the user moves the
cursor inside a widget to which a Balloon widget has been bound, a
small pop-up window with a descriptive message will be shown on the
screen.
</dl>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4712' xml:id='l2h-4712' class="class">ButtonBox</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixButtonBox.htm"
  >ButtonBox</a>
widget creates a box of buttons, such as is commonly used for <code>Ok
Cancel</code>.
</dl>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4713' xml:id='l2h-4713' class="class">ComboBox</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixComboBox.htm"
  >ComboBox</a>
widget is similar to the combo box control in MS Windows. The user can
select a choice by either typing in the entry subwdget or selecting
from the listbox subwidget.
</dl>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4714' xml:id='l2h-4714' class="class">Control</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixControl.htm"
  >Control</a>
widget is also known as the <tt class="class">SpinBox</tt> widget. The user can
adjust the value by pressing the two arrow buttons or by entering the
value directly into the entry. The new value will be checked against
the user-defined upper and lower limits.
</dl>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4715' xml:id='l2h-4715' class="class">LabelEntry</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixLabelEntry.htm"
  >LabelEntry</a>
widget packages an entry widget and a label into one mega widget. It
can be used be used to simplify the creation of ``entry-form'' type of
interface.
</dl>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4716' xml:id='l2h-4716' class="class">LabelFrame</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixLabelFrame.htm"
  >LabelFrame</a>
widget packages a frame widget and a label into one mega widget.  To
create widgets inside a LabelFrame widget, one creates the new widgets
relative to the <tt class="member">frame</tt> subwidget and manage them inside the
<tt class="member">frame</tt> subwidget.
</dl>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4717' xml:id='l2h-4717' class="class">Meter</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixMeter.htm"
  >Meter</a>
widget can be used to show the progress of a background job which may
take a long time to execute.
</dl>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4718' xml:id='l2h-4718' class="class">OptionMenu</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixOptionMenu.htm"
  >OptionMenu</a>
creates a menu button of options.
</dl>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4719' xml:id='l2h-4719' class="class">PopupMenu</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixPopupMenu.htm"
  >PopupMenu</a>
widget can be used as a replacement of the <code>tk_popup</code>
command. The advantage of the <tt class="module"><a href="module-Tix.html">Tix</a></tt> <tt class="class">PopupMenu</tt> widget
is it requires less application code to manipulate.
</dl>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4720' xml:id='l2h-4720' class="class">Select</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixSelect.htm"
  >Select</a>
widget is a container of button subwidgets. It can be used to provide
radio-box or check-box style of selection options for the user.
</dl>

<p>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4721' xml:id='l2h-4721' class="class">StdButtonBox</tt></b>(</nobr></td>
  <td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixStdButtonBox.htm"
  >StdButtonBox</a>
widget is a group of standard buttons for Motif-like dialog boxes.
</dl>

<p>

<div class="navigation">
<div class='online-navigation'>
<p></p><hr />
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="20.2.2 tix Widgets"
  href="node704.html"><img src='../icons/previous.png'
  border='0' height='32'  alt='Previous Page' width='32' /></a></td>
<td class='online-navigation'><a rel="parent" title="20.2.2 tix Widgets"
  href="node704.html"><img src='../icons/up.png'
  border='0' height='32'  alt='Up one Level' width='32' /></a></td>
<td class='online-navigation'><a rel="next" title="20.2.2.2 file Selectors"
  href="node706.html"><img src='../icons/next.png'
  border='0' height='32'  alt='Next Page' width='32' /></a></td>
<td align="center" width="100%">Python Library Reference</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
  href="contents.html"><img src='../icons/contents.png'
  border='0' height='32'  alt='Contents' width='32' /></a></td>
<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
  border='0' height='32'  alt='Module Index' width='32' /></a></td>
<td class='online-navigation'><a rel="index" title="Index"
  href="genindex.html"><img src='../icons/index.png'
  border='0' height='32'  alt='Index' width='32' /></a></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="node704.html">20.2.2 Tix Widgets</a>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="node704.html">20.2.2 Tix Widgets</a>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="node706.html">20.2.2.2 File Selectors</a>
</div>
</div>
<hr />
<span class="release-info">Release 2.5.1, documentation updated on 18th April, 2007.</span>
</div>
<!--End of Navigation Panel-->
<address>
See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
</address>
</body>
</html>
